package com.example.cloud.domain.model.user;

import java.util.Date;

import com.example.cloud.domain.common.BaseInfo;

import lombok.Data;

/**
 * 用户
 *
 * @author tongyufu
 */
@Data
public class UserDO extends BaseInfo {

    private static final long serialVersionUID = 1L;
    private Integer           id;
    private String            truename;
    private String            username;
    private String            password;
    private Integer           loginCount;
    private Date              createAt;

    /**
     * 无参
     */
    public UserDO() {
        super();
    }

    /**
     * 构造函数
     *
     * @param id id
     * @param truename 姓名
     */
    public UserDO(Integer id, String truename) {
        super();
        this.id = id;
        this.truename = truename;
    }

}
